package com.henary.annotation.bean;

import org.springframework.stereotype.Component;

/**
 * @author henary
 * @date 2022年09月19日 13:55
 */
public class Person {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public Person(String name) {
		System.out.printf("Person="+name+"constructor in");
		this.name = name;
	}

	@Override
	public String toString() {
		return "Person{" +
				"name='" + name + '\'' +
				'}';
	}
}
